import pygame
pygame.init()
class MyFont():
    def __init__(self):
        self.zw_font=pygame.font.Font("font/simhei.ttf",40)#设置中文字体
    def getChineseFont(self,message,color):
        return self.zw_font.render(message,True,color)
